#!/bin/sh
#export GOPROXY=https://goproxy.io/
export GOPROXY=https://mirrors.aliyun.com/goproxy/

go get github.com/spf13/cobra/cobra@v1.3.0

mkdir newTools

cd newTools

cobra init --pkg-name newTools

cobra add serve
cobra add config
cobra add create -p 'configCmd'
go mod init newTools
go mod tidy
go build 
